package com.example.springback.mapper;


import com.example.springback.domain.Admin;

import java.util.List;

/**
* @author lenovo
* @description 针对表【admin】的数据库操作Mapper
* @createDate 2025-03-06 20:19:41
* @Entity generator.domain.Admin
*/
public interface AdminMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    List<Admin> selectAll(Admin admin);

    Admin selectByUsername(String username);
}
